<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  
  "http://www.w3.org/TR/html4/loose.dtd">  
<html > 
<head><title>Vector Data reprojection</title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)"> 
<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)"> 
<!-- html,4,subsubsections+ --> 
<meta name="src" content="CookBook.tex"> 
<meta name="date" content="2012-10-02 23:16:00"> 
<link rel="stylesheet" type="text/css" href="CookBook.css"> 
</head><body 
>
<!--l. 988--><div class="crosslinks"><p class="noindent">[<a 
href="CookBooksu48.html" >next</a>] [<a 
href="CookBooksu46.html" >prev</a>] [<a 
href="CookBooksu46.html#tailCookBooksu46.html" >prev-tail</a>] [<a 
href="#tailCookBooksu47.html">tail</a>] [<a 
href="CookBookse12.html#CookBooksu47.html" >up</a>] </p></div>
<h4 class="subsectionHead"><span class="titlemark">4.2.4    </span> <a 
 id="x68-2190004.2.4"></a>Vector Data reprojection</h4>
<!--l. 989--><p class="noindent" >This application allows to reproject a vector data using support image projection reference, or a user
specified map projection<br 
class="newline" />
<h5 class="subsubsectionHead"><a 
 id="x68-2200004.2.4"></a>Detailed description</h5>
<!--l. 991--><p class="noindent" >This application allows to reproject a vector data using support image projection reference, or a user given
map projection.<br 
class="newline" />If given, image keywordlist can be added to reprojected vectordata.
<h5 class="subsubsectionHead"><a 
 id="x68-2210004.2.4"></a>Parameters</h5>
<!--l. 993--><p class="noindent" >This section describes in details the parameters available for this application. Table&#x00A0;<a 
href="#x68-22100113">4.13<!--tex4ht:ref: VectorDataReprojection_param_table --></a>, page&#x00A0;<a 
href="#x68-22100113">305<!--tex4ht:ref: VectorDataReprojection_param_table --></a>
presents a summary of these parameters and the parameters keys to be used in command-line and
programming languages. Application key is <span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-">VectorDataReprojection</span></span></span>. <div class="table">
                                                                            
                                                                            
<!--l. 994--><p class="noindent" ><a 
 id="x68-22100113"></a><hr class="float"><div class="float" 
>
                                                                            
                                                                            
<div class="center" 
>
<!--l. 995--><p class="noindent" >
<div class="tabular"> <table id="TBL-13" class="tabular" 
cellspacing="0" cellpadding="0" rules="groups" 
><colgroup id="TBL-13-1g"><col 
id="TBL-13-1"></colgroup><colgroup id="TBL-13-2g"><col 
id="TBL-13-2"></colgroup><colgroup id="TBL-13-3g"><col 
id="TBL-13-3"></colgroup><tr 
class="hline"><td><hr></td><td><hr></td><td><hr></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-13-1-"><td  style="white-space:wrap; text-align:left;" id="TBL-13-1-1"  
class="td11"><!--l. 999--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Parameter key</span>                                                </td><td  style="white-space:nowrap; text-align:left;" id="TBL-13-1-2"  
class="td11"><span 
class="ptmr7t-x-x-90">Parameter type    </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-13-1-3"  
class="td11"><!--l. 999--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Parameter description</span>                                    </td>
</tr><tr 
class="hline"><td><hr></td><td><hr></td><td><hr></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-13-2-"><td  style="white-space:wrap; text-align:left;" id="TBL-13-2-1"  
class="td11"><!--l. 1001--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">in</span></span></span>                                 </td><td  style="white-space:nowrap; text-align:left;" id="TBL-13-2-2"  
class="td11"><span 
class="ptmr7t-x-x-90">Group                  </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-13-2-3"  
class="td11"><!--l. 1001--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Input data</span>                                                       </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-13-3-"><td  style="white-space:wrap; text-align:left;" id="TBL-13-3-1"  
class="td11"><!--l. 1002--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">in.vd</span></span></span>                              </td><td  style="white-space:nowrap; text-align:left;" id="TBL-13-3-2"  
class="td11"><span 
class="ptmr7t-x-x-90">Input File name   </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-13-3-3"  
class="td11"><!--l. 1002--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Input vector data</span>                                            </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-13-4-"><td  style="white-space:wrap; text-align:left;" id="TBL-13-4-1"  
class="td11"><!--l. 1003--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">in.kwl</span></span></span>                             </td><td  style="white-space:nowrap; text-align:left;" id="TBL-13-4-2"  
class="td11"><span 
class="ptmr7t-x-x-90">Input image         </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-13-4-3"  
class="td11"><!--l. 1003--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Use image keywords list</span>                               </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-13-5-"><td  style="white-space:wrap; text-align:left;" id="TBL-13-5-1"  
class="td11"><!--l. 1004--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">out</span></span></span>                                </td><td  style="white-space:nowrap; text-align:left;" id="TBL-13-5-2"  
class="td11"><span 
class="ptmr7t-x-x-90">Group                  </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-13-5-3"  
class="td11"><!--l. 1004--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Output data</span>                                                    </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-13-6-"><td  style="white-space:wrap; text-align:left;" id="TBL-13-6-1"  
class="td11"><!--l. 1005--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">out.vd</span></span></span>                             </td><td  style="white-space:nowrap; text-align:left;" id="TBL-13-6-2"  
class="td11"><span 
class="ptmr7t-x-x-90">Output File name</span></td><td  style="white-space:wrap; text-align:left;" id="TBL-13-6-3"  
class="td11"><!--l. 1005--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Output vector data</span>                                         </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-13-7-"><td  style="white-space:wrap; text-align:left;" id="TBL-13-7-1"  
class="td11"><!--l. 1006--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">out.proj</span></span></span>                           </td><td  style="white-space:nowrap; text-align:left;" id="TBL-13-7-2"  
class="td11"><span 
class="ptmr7t-x-x-90">Choices               </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-13-7-3"  
class="td11"><!--l. 1006--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Output Projection choice</span>                               </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-13-8-"><td  style="white-space:wrap; text-align:left;" id="TBL-13-8-1"  
class="td11"><!--l. 1007--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">out.proj</span><span 
class="pcrr7tn-x-x-90">&#x00A0;image</span></span></span>                     </td><td  style="white-space:nowrap; text-align:left;" id="TBL-13-8-2"  
class="td11"><span 
class="ptmri7t-x-x-90">Choice                 </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-13-8-3"  
class="td11"><!--l. 1007--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Use image projection ref</span>                               </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-13-9-"><td  style="white-space:wrap; text-align:left;" id="TBL-13-9-1"  
class="td11"><!--l. 1008--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">out.proj</span><span 
class="pcrr7tn-x-x-90">&#x00A0;user</span></span></span>                      </td><td  style="white-space:nowrap; text-align:left;" id="TBL-13-9-2"  
class="td11"><span 
class="ptmri7t-x-x-90">Choice                 </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-13-9-3"  
class="td11"><!--l. 1008--><p class="noindent" ><span 
class="ptmr7t-x-x-90">User defined projection</span>                                 </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-13-10-"><td  style="white-space:wrap; text-align:left;" id="TBL-13-10-1"  
class="td11"><!--l. 1009--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">out.proj.image.in</span></span></span>                  </td><td  style="white-space:nowrap; text-align:left;" id="TBL-13-10-2"  
class="td11"><span 
class="ptmr7t-x-x-90">Input image         </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-13-10-3"  
class="td11"><!--l. 1009--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Image used to get projection map</span>                 </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-13-11-"><td  style="white-space:wrap; text-align:left;" id="TBL-13-11-1"  
class="td11"><!--l. 1010--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">out.proj.user.map</span></span></span>                  </td><td  style="white-space:nowrap; text-align:left;" id="TBL-13-11-2"  
class="td11"><span 
class="ptmr7t-x-x-90">Choices               </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-13-11-3"  
class="td11"><!--l. 1010--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Output Cartographic Map Projection</span>            </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-13-12-"><td  style="white-space:wrap; text-align:left;" id="TBL-13-12-1"  
class="td11"><!--l. 1011--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">out.proj.user.map</span><span 
class="pcrr7tn-x-x-90">&#x00A0;utm</span></span></span>              </td><td  style="white-space:nowrap; text-align:left;" id="TBL-13-12-2"  
class="td11"><span 
class="ptmri7t-x-x-90">Choice                 </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-13-12-3"  
class="td11"><!--l. 1011--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Universal Trans-Mercator (UTM)</span>                 </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-13-13-"><td  style="white-space:wrap; text-align:left;" id="TBL-13-13-1"  
class="td11"><!--l. 1012--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">out.proj.user.map</span><span 
class="pcrr7tn-x-x-90">&#x00A0;lambert2</span></span></span>         </td><td  style="white-space:nowrap; text-align:left;" id="TBL-13-13-2"  
class="td11"><span 
class="ptmri7t-x-x-90">Choice                 </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-13-13-3"  
class="td11"><!--l. 1012--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Lambert II Etendu</span>                                         </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-13-14-"><td  style="white-space:wrap; text-align:left;" id="TBL-13-14-1"  
class="td11"><!--l. 1013--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">out.proj.user.map</span><span 
class="pcrr7tn-x-x-90">&#x00A0;lambert93</span></span></span>        </td><td  style="white-space:nowrap; text-align:left;" id="TBL-13-14-2"  
class="td11"><span 
class="ptmri7t-x-x-90">Choice                 </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-13-14-3"  
class="td11"><!--l. 1013--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Lambert93</span>                                                     </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-13-15-"><td  style="white-space:wrap; text-align:left;" id="TBL-13-15-1"  
class="td11"><!--l. 1014--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">out.proj.user.map</span><span 
class="pcrr7tn-x-x-90">&#x00A0;wgs</span></span></span>              </td><td  style="white-space:nowrap; text-align:left;" id="TBL-13-15-2"  
class="td11"><span 
class="ptmri7t-x-x-90">Choice                 </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-13-15-3"  
class="td11"><!--l. 1014--><p class="noindent" ><span 
class="ptmr7t-x-x-90">WGS 84</span>                                                         </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-13-16-"><td  style="white-space:wrap; text-align:left;" id="TBL-13-16-1"  
class="td11"><!--l. 1015--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">out.proj.user.map</span><span 
class="pcrr7tn-x-x-90">&#x00A0;epsg</span></span></span>             </td><td  style="white-space:nowrap; text-align:left;" id="TBL-13-16-2"  
class="td11"><span 
class="ptmri7t-x-x-90">Choice                 </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-13-16-3"  
class="td11"><!--l. 1015--><p class="noindent" ><span 
class="ptmr7t-x-x-90">EPSG Code</span>                                                   </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-13-17-"><td  style="white-space:wrap; text-align:left;" id="TBL-13-17-1"  
class="td11"><!--l. 1016--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">out.proj.user.map.utm.zone</span></span></span>         </td><td  style="white-space:nowrap; text-align:left;" id="TBL-13-17-2"  
class="td11"><span 
class="ptmr7t-x-x-90">Int                        </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-13-17-3"  
class="td11"><!--l. 1016--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Zone number</span>                                                 </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-13-18-"><td  style="white-space:wrap; text-align:left;" id="TBL-13-18-1"  
class="td11"><!--l. 1017--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">out.proj.user.map.utm.northhem</span></span></span>     </td><td  style="white-space:nowrap; text-align:left;" id="TBL-13-18-2"  
class="td11"><span 
class="ptmr7t-x-x-90">Boolean               </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-13-18-3"  
class="td11"><!--l. 1017--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Northern Hemisphere</span>                                    </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-13-19-"><td  style="white-space:wrap; text-align:left;" id="TBL-13-19-1"  
class="td11"><!--l. 1018--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">out.proj.user.map.epsg.code</span></span></span>        </td><td  style="white-space:nowrap; text-align:left;" id="TBL-13-19-2"  
class="td11"><span 
class="ptmr7t-x-x-90">Int                        </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-13-19-3"  
class="td11"><!--l. 1018--><p class="noindent" ><span 
class="ptmr7t-x-x-90">EPSG Code</span>                                                   </td>
</tr><tr 
class="hline"><td><hr></td><td><hr></td><td><hr></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-13-20-"><td  style="white-space:wrap; text-align:left;" id="TBL-13-20-1"  
class="td11">                                   </td></tr></table></div>
</div>
<br /> <div class="caption" 
><span class="id">Table&#x00A0;4.13: </span><span  
class="content">Parameters table for Vector Data reprojection.</span></div><!--tex4ht:label?: x68-22100113 -->
                                                                            
                                                                            
</div><hr class="endfloat" />
</div>
<!--l. 1024--><p class="noindent" ><span class="paragraphHead"><a 
 id="x68-2220004.2.4"></a><span 
class="ptmb7t-">Input data</span></span>
     <ul class="itemize1">
     <li class="itemize"><span 
class="ptmb7t-">Input vector data:  </span>The input vector data to reproject
     </li>
     <li class="itemize"><span 
class="ptmb7t-">Use image keywords list:  </span>Optional input image to fill vector data with image kwl.
     </li></ul>
<!--l. 1032--><p class="noindent" ><span class="paragraphHead"><a 
 id="x68-2230004.2.4"></a><span 
class="ptmb7t-">Output data</span></span>
     <ul class="itemize1">
     <li class="itemize"><span 
class="ptmb7t-">Output vector data:  </span>The reprojected vector data
     </li>
     <li class="itemize"><span 
class="ptmb7t-">Output Projection choice:</span>
     <!--l. 1039--><p class="noindent" >Available choices are:
         <ul class="itemize2">
         <li class="itemize"><span 
class="ptmb7t-">Use image projection ref</span>: Vector data will be reprojected in image projection ref.
             <ul class="itemize3">
             <li class="itemize"><span 
class="ptmb7t-">Image used to get projection map:   </span>Projection map will be found using image
             metadata</li></ul>
         </li>
         <li class="itemize"><span 
class="ptmb7t-">User defined projection</span>
             <ul class="itemize3">
             <li class="itemize"><span 
class="ptmb7t-">Output Cartographic Map Projection:  </span>Parameters of the ouptut map projection
             to be used.
             </li>
             <li class="itemize"><span 
class="ptmb7t-">Zone number:   </span>The zone number ranges from 1 to 60 and allows to define the
             transverse mercator projection (along with the hemisphere)
             </li>
             <li class="itemize"><span 
class="ptmb7t-">Northern Hemisphere:   </span>The transverse mercator projections are defined by their
             zone number as well as the hemisphere. Activate this parameter if your image is in
             the northern hemisphere.
                                                                            
                                                                            
             </li>
             <li class="itemize"><span 
class="ptmb7t-">EPSG Code:  </span>See www.spatialreference.org to find which EPSG code is associated
             to your projection</li></ul>
         </li></ul>
     </li></ul>
<!--l. 1054--><p class="noindent" >
<h5 class="subsubsectionHead"><a 
 id="x68-2240004.2.4"></a>Example</h5>
<!--l. 1055--><p class="noindent" >To run this example in command-line, use the following: <!--l. 1056-->
<div class="lstlisting" id="listing-26"><span class="label"><a 
 id="x68-224001r1"></a></span><span 
class="pcrr7tn-x-x-70">otbcli_VectorDataReprojection</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><span 
class="pcrr7tn-x-x-70">-</span><span 
class="pcrb7t-x-x-70">in</span><span 
class="pcrr7tn-x-x-70">.</span><span 
class="pcrr7tn-x-x-70">vd</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><span 
class="pcrr7tn-x-x-70">VectorData_QB1</span><span 
class="pcrr7tn-x-x-70">.</span><span 
class="pcrr7tn-x-x-70">shp</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><span 
class="pcrr7tn-x-x-70">-</span><span 
class="pcrr7tn-x-x-70">out</span><span 
class="pcrr7tn-x-x-70">.</span><span 
class="pcrr7tn-x-x-70">proj</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><span 
class="pcrr7tn-x-x-70">image</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><span 
class="pcrr7tn-x-x-70">-</span><span 
class="pcrr7tn-x-x-70">out</span><span 
class="pcrr7tn-x-x-70">.</span><span 
class="pcrr7tn-x-x-70">proj</span><span 
class="pcrr7tn-x-x-70">.</span><span 
class="pcrr7tn-x-x-70">image</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><span 
class="pcrr7tn-x-x-70">ROI_QB_MUL_1</span><span 
class="pcrr7tn-x-x-70">.</span><span 
class="pcrr7tn-x-x-70">tif</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><span 
class="pcrr7tn-x-x-70">-</span><span 
class="pcrr7tn-x-x-70">out</span><span 
class="pcrr7tn-x-x-70">.</span><span 
class="pcrr7tn-x-x-70">vd</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><span 
class="pcrr7tn-x-x-70">reprojected_vd</span><span 
class="pcrr7tn-x-x-70">.</span><span 
class="pcrr7tn-x-x-70">shp</span>
</div>
<!--l. 1059--><p class="noindent" >To run this example from Python, use the following code snippet: <!--l. 1060-->
<div class="lstlisting" id="listing-27"><span class="label"><a 
 id="x68-224002r1"></a></span><span 
class="pcrro7t-x-x-70">#</span><span 
class="pcrro7t-x-x-70">!/</span><span 
class="pcrro7t-x-x-70">usr</span><span 
class="pcrro7t-x-x-70">/</span><span 
class="pcrro7t-x-x-70">bin</span><span 
class="pcrro7t-x-x-70">/</span><span 
class="pcrro7t-x-x-70">python</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x68-224003r2"></a></span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x68-224004r3"></a></span><span 
class="pcrro7t-x-x-70">#</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">Import</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">the</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">otb</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">applications</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">package</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x68-224005r4"></a></span><span 
class="pcrb7t-x-x-70">import</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><span 
class="pcrr7tn-x-x-70">otbApplication</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x68-224006r5"></a></span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x68-224007r6"></a></span><span 
class="pcrro7t-x-x-70">#</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">The</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">following</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">line</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">creates</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">an</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">instance</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">of</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">the</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">VectorDataReprojection</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">application</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x68-224008r7"></a></span><span 
class="pcrr7tn-x-x-70">VectorDataReprojection</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><span 
class="pcrr7tn-x-x-70">=</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><span 
class="pcrr7tn-x-x-70">otbApplication</span><span 
class="pcrr7tn-x-x-70">.</span><span 
class="pcrr7tn-x-x-70">Registry</span><span 
class="pcrr7tn-x-x-70">.</span><span 
class="pcrr7tn-x-x-70">CreateApplication</span><span 
class="pcrr7tn-x-x-70">(</span><span 
class="pcrr7tn-x-x-70">"</span><span 
class="pcrr7tn-x-x-70">VectorDataReprojection</span><span 
class="pcrr7tn-x-x-70">"</span><span 
class="pcrr7tn-x-x-70">)</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x68-224009r8"></a></span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x68-224010r9"></a></span><span 
class="pcrro7t-x-x-70">#</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">The</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">following</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">lines</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">set</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">all</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">the</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">application</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">parameters</span><span 
class="pcrro7t-x-x-70">:</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x68-224011r10"></a></span><span 
class="pcrr7tn-x-x-70">VectorDataReprojection</span><span 
class="pcrr7tn-x-x-70">.</span><span 
class="pcrr7tn-x-x-70">SetParameterString</span><span 
class="pcrr7tn-x-x-70">(</span><span 
class="pcrr7tn-x-x-70">"</span><span 
class="pcrr7tn-x-x-70">in</span><span 
class="pcrr7tn-x-x-70">.</span><span 
class="pcrr7tn-x-x-70">vd</span><span 
class="pcrr7tn-x-x-70">"</span><span 
class="pcrr7tn-x-x-70">,</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><span 
class="pcrr7tn-x-x-70">"</span><span 
class="pcrr7tn-x-x-70">VectorData_QB1</span><span 
class="pcrr7tn-x-x-70">.</span><span 
class="pcrr7tn-x-x-70">shp</span><span 
class="pcrr7tn-x-x-70">"</span><span 
class="pcrr7tn-x-x-70">)</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x68-224012r11"></a></span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x68-224013r12"></a></span><span 
class="pcrr7tn-x-x-70">VectorDataReprojection</span><span 
class="pcrr7tn-x-x-70">.</span><span 
class="pcrr7tn-x-x-70">SetParameterString</span><span 
class="pcrr7tn-x-x-70">(</span><span 
class="pcrr7tn-x-x-70">"</span><span 
class="pcrr7tn-x-x-70">out</span><span 
class="pcrr7tn-x-x-70">.</span><span 
class="pcrr7tn-x-x-70">proj</span><span 
class="pcrr7tn-x-x-70">"</span><span 
class="pcrr7tn-x-x-70">,</span><span 
class="pcrr7tn-x-x-70">"</span><span 
class="pcrr7tn-x-x-70">image</span><span 
class="pcrr7tn-x-x-70">"</span><span 
class="pcrr7tn-x-x-70">)</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x68-224014r13"></a></span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x68-224015r14"></a></span><span 
class="pcrro7t-x-x-70">#</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">The</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">following</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">line</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">execute</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">the</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">application</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x68-224016r15"></a></span><span 
class="pcrr7tn-x-x-70">VectorDataReprojection</span><span 
class="pcrr7tn-x-x-70">.</span><span 
class="pcrr7tn-x-x-70">ExecuteAndWriteOutput</span><span 
class="pcrr7tn-x-x-70">()</span>
</div>
<!--l. 1077--><p class="noindent" >
<h5 class="subsubsectionHead"><a 
 id="x68-2250004.2.4"></a>Authors</h5>
<!--l. 1078--><p class="noindent" >This application has been written by OTB-Team.
                                                                            
                                                                            
<!--l. 1079--><div class="crosslinks"><p class="noindent">[<a 
href="CookBooksu48.html" >next</a>] [<a 
href="CookBooksu46.html" >prev</a>] [<a 
href="CookBooksu46.html#tailCookBooksu46.html" >prev-tail</a>] [<a 
href="CookBooksu47.html" >front</a>] [<a 
href="CookBookse12.html#CookBooksu47.html" >up</a>] </p></div>
<!--l. 1079--><p class="noindent" ><a 
 id="tailCookBooksu47.html"></a>  
 <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("UA-7072990-1"); pageTracker._trackPageview(); } catch(err) {}</script></body></html> 
